package com.woniu.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.dto.LeagueClassDetailDto;
import com.woniu.model.form.AddLeagueClassDetailForm;
import com.woniu.model.model.YLeagueClassDetail;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 胡歌
 * @since 2024年05月28日
 */
public interface YLeagueClassDetailService extends IService<YLeagueClassDetail> {

    void addLeagueClassDetail(AddLeagueClassDetailForm form);

    void finishLeagueClassDetail(Integer leagueClassWorkforceId);

    void cancelLeagueClassDetail(Integer leagueClassWorkforceId);

    List<LeagueClassDetailDto> loadLeagueClassDetailByUser(Integer userId, Integer classState,String leagueClassName);
}
